package net.simflow.swf.analyzer.graph.data;

import net.simflow.swf.analyzer.graph.stats.data.GraphStats;
import net.simflow.swf.analyzer.network.data.Link;
import net.simflow.swf.analyzer.network.data.Node;
import edu.uci.ics.jung.graph.Graph;
import edu.uci.ics.jung.visualization.VisualizationViewer;

public class GraphPkg {
	public static final int NETWORK = 0;
	public static final int FLOW = 1;

	private String graphName = null;
	private Graph<Node, Link> graph = null;
	private GraphStats graphStats = null;
	private int graphType = -1;
	private VisualizationViewer<Node, Link> graphViewer = null;

	public String getGraphName() {
		return graphName;
	}

	public void setGraphName(String graphName) {
		this.graphName = graphName;
	}

	public Graph<Node, Link> getGraph() {
		return graph;
	}

	public void setGraph(Graph<Node, Link> graph) {
		this.graph = graph;
	}

	public GraphStats getGraphStats() {
		return graphStats;
	}

	public void setGraphStats(GraphStats graphStats) {
		this.graphStats = graphStats;
	}

	public VisualizationViewer<Node, Link> getGraphViewer() {
		return graphViewer;
	}

	public void setGraphViewer(VisualizationViewer<Node, Link> graphViewer) {
		this.graphViewer = graphViewer;
	}

	public int getGraphType() {
		return graphType;
	}

	public void setGraphType(int graphType) {
		this.graphType = graphType;
	}
}
